﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Brain.Logic2D.PathFinding.Tiled
{
    public class PathNodeInfo
    {
        public PathNodeInfo(Node n)
        {
            this.Parent = n;
        }

        public Node Parent;

        public PathNodeInfo InfoParent;

        /// <summary>
        /// Used for Manhattan formule
        /// </summary>
        public int F;

        public override string ToString()
        {
            return "F: " + F;
        }
    }
}
